const Mock = require('mockjs');
export default [
    // 站点信息
    {
        url: '/site',
        type: 'get',
        response: () => {
            return {
                status: 0,
                data: {
                    avatar: 'https://www.wayblogs.com/layuibokemoban/image/icon/logo.png',
                    slogan: '什么是快乐星球，诶，就是玩儿！',
                    name: 'W.A.Y博客',
                    domain: 'https://www.wayblogs.com/',
                    notice: '本博客的Demo数据由Mockjs生成',
                    desc: '就是玩儿'
                }
            }
        }
    },
    // 站点社交信息
    {
        url: '/social',
        type: 'get',
        response: () => {
            return {
                status: 0,
                data: [
                    {
                        id: 1,
                        title: 'QQ',
                        icon: 'iconqq',
                        color: '#1AB6FF ',
                        href: 'http://wpa.qq.com/msgrd?v=3&uin=1328113017&site=qq&menu=yes'
                    },
                    {
                        id: 2,
                        title: 'Gitee',
                        icon: 'icongitee',
                        color: '#d81e06',
                        href: 'https://gitee.com/zengyanfang'
                    },
                    {
                        id: 3,
                        title: 'GitHub',
                        icon: 'icongithub',
                        color: '',
                        href: 'https://github.com/fengziye'
                    },
                    {
                        id: 4,
                        title: 'CSDN',
                        icon: 'iconcsdn',
                        color: 'red',
                        href: 'https://blog.csdn.net/weixin_43900374?spm=1000.2115.3001.5343'
                    } 
                ]
            }
        }
    },
	// 分类介绍
	{
	    url: '/info',
	    type: 'get',
	    response: () => {
	        return {
	            status: 0,
	            data: {
					image: "https://s1.ax1x.com/2020/05/14/YDfRnU.jpg",
					name: "AKA",
					desc: "aka是什么我也不知道",
					createDate: "2020-7-1"
				}
	        }
	    }
	}
]